

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'

import Layui from '@layui/layui-vue'
import '@layui/layui-vue/lib/index.css'


import VueUUID from 'vue-uuid';

import apiClient from './api/axios';

import longzeVideoPlay from "longze-vue3-video-player"; // 引入组件
// import "longze-vue3-video-player/dist/style.css"; // 引入css

import Region from 'v-region'

const app = createApp(App)

app.use(Layui)
app.use(createPinia())
app.use(router)
app.use(VueUUID)

// 全局挂载 Axios 实例,然后在任何组件中，你可以通过 this.$axios 来使用 Axios 实例
app.config.globalProperties.$axios = apiClient;

app.use(longzeVideoPlay)

app.use(Region)


app.mount('#app')
